<template>
  <div>
    <transition>
      <router-view></router-view>
    </transition>
  </div>
</template>
<script>
export default {
  name: 'Main',
  data () {
    return {
    }
  },
  watch: {
  },
  created () {
    this.setState()
  },
  methods: {
    /*
     *@author wf_Huang
     *@Time 2019/7/19 0019 17:46
     *@function  防止刷新丢失数据
     *****************************************/
    setState () {
      // this.$store.state = localStorage.getItem('stateData')
    }
  },
  mounted () {
  },
  components: {
  }
}
</script>
